package com.toy.core.client;

import com.toy.core.config.SysConfig;
import com.toy.core.util.SpringContextHolder;


public class SystemFacade {
	
	/**
	 * 获得安全服务
	 * @return
	 */
	public static SecurityService getSecurityService(){
		return SpringContextHolder.getBean(SecurityService.class);
	}
	
	/**
	 * 获得配置服务
	 * @return
	 */
	public static SysConfig getSysConfig(){
		return SpringContextHolder.getBean(SysConfig.class);
	}
}
